package com.hh.designPrinciples.CompositeReusePrinciple;

/**
 * @author huangh
 * @since 2019/11/19
 */
public class ProductDao extends DBConnection {
    public void addProduct() {
        String connection = super.getConnection();
        System.out.println("使用 " + connection + " 添加产品");
    }
}
